﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Administrador_Produtos_Categoria_Default" %>
<%@ Register Src="~/Controles/MenuLateralAdministrador.ascx" TagPrefix="uc" TagName="MenuLateralDireitoAdministrador" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">
        .elementos { 
                    left:100px; 
                position:relative; 
                width:80%; float:left;  
        }
        .descricao { width:200px; float:left;  }
        .id { width:50px; float:left;  }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <uc:MenuLateralDireitoAdministrador ID="MenuLateralAdministrador" runat="server" />
    <div class="elementos">
        <asp:Label ID="lblResposta" runat="server" ForeColor="Red"></asp:Label><br /><br />

        <a href="registrar.aspx">Cadastrar nova Marca</a><br /><br />
        
        <asp:Repeater ID="RpMarca" runat="server" >
            <ItemTemplate>
                <div class="divCategoria">
                    <label class="id"><%#DataBinder.Eval(Container.DataItem, "idMarca")%></label>
                    <label class="descricao"><%#DataBinder.Eval(Container.DataItem, "descricao")%></label>
                    <a href="registrar.aspx?id=<%#DataBinder.Eval(Container.DataItem, "idMarca")%>">Editar</a>
                    <a href="default.aspx?removerId=<%#DataBinder.Eval(Container.DataItem, "idMarca")%>">Remover</a>
                </div>
            </ItemTemplate>
        </asp:Repeater>
        
    </div>


</asp:Content>
